package com.jeomo.sys.starter.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jeomo.base.starter.entity.BaseEntity;

/**
 * <p>
 * 用户-角色关系表
 * </p>
 *
 * @author jeomo
 * @since 2019-03-22
 */

@TableName("sys_user_role")
public class UserRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private String userCode;

    /**
     * 角色ID
     */
    private String roleCode;


    public UserRole(String userCode, String roleCode) {
        super();
        this.userCode = userCode;
        this.roleCode = roleCode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

}
